package Test0302;

import java.util.HashMap;
import java.util.Map;
import java.util.Stack;

public class Main {

    static public int fib(int n) {
        if(n==0||n==1)
        {
            return n;
        }
        else
        {
            return fib(n-1) + fib(n-2);
        }
    }
    public static void main(String[] args) {
        System.out.println(fib(6));


    }
}
